using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content.Pipeline;
using Microsoft.Xna.Framework.Content.Pipeline.Graphics;

namespace XDLPipeline
{
    /// <summary>
    /// Imports a line system definition as a content asset.
    /// </summary>
    [ContentImporter(".lines", DisplayName = "XML Line System Importer", DefaultProcessor = "LineProcessor")]
    public class LineImport : ContentImporter<LineSettingsContent>
    {
        public override LineSettingsContent Import(string filename, ContentImporterContext context)
        {
            XmlImporter xi = new XmlImporter();   
            return (LineSettingsContent)xi.Import(filename, context);
        }
    }
}
